From: Colin Walters Date: Mon, 27 Oct 2014 16:19:32 +0000 (-0400) Subject: grub2: Fix bad substitution in review followup X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~1071 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=fb3ad0037f36e982c8fc04342615399794b65857;p=ostree.git grub2: Fix bad substitution in review followup This caused GRUB2+EFI installations to fail. --- diff --git a/src/libostree/ostree-bootloader-grub2.c b/src/libostree/ostree-bootloader-grub2.c index 19d04924..a9fc9f7d 100644 --- a/src/libostree/ostree-bootloader-grub2.c +++ b/src/libostree/ostree-bootloader-grub2.c @@ -320,7 +320,7 @@ rm -f ${grub_cfg}.new /* NOTE: NON-ATOMIC REPLACEMENT; WE can't do anything else on FAT; * see https://bugzilla.gnome.org/show_bug.cgi?id=724246 */ - if (!ot_gfile_ensure_unlinked (new_config_path, cancellable, error)) + if (!ot_gfile_ensure_unlinked (self->config_path_efi, cancellable, error)) goto out; if (!gs_file_rename (new_config_path, self->config_path_efi, cancellable, error))